package cn.neusoft;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * 主启动类
 */
//该注解可以声明一个springboot项目的主启动类
@SpringBootApplication
//@MapperScan(basePackages = {"cn.neusoft.mapper"})
@MapperScan("cn.neusoft.mapper")
public class MyApplication {

    public static void main(String[] args) {
        SpringApplication.run(MyApplication.class,args);
    }

}
